www.gusucode.com > 酷维企业网站CMS管理系统 v2.1.0 > 酷维企业网站CMS管理系统 v2.1.0\code\NewsAdmin\djs.asp

    <%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="conn.asp" -->
<!--#include file="pass.asp" -->
<% if request("wang")="up" then 
set rs= Server.CreateObject("adodb.recordset")
sql="select * from djs "
rs.open sql,conn,1,3
rs("djs")=request("djs")
rs.update
response.Redirect("djs.asp")
else 
set rs= Server.CreateObject("adodb.recordset")
sql="select * from djs"
rs.open sql,conn,1,3
end if 
 %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head>

<body>
<form id="form1" name="form1" method="post" action="?wang=up">
  <table width="54%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#5C85D6">
    <tr>
      <td height="28" colspan="2" align="center" background="images/admin_bg_1.gif"><strong><font color="#FFFFFF">倒计时设置</font></strong></td>
    </tr>
    <tr>
      <td width="20%" height="33" align="center" bgcolor="#FFFFFF">开幕时间</td>
      <td width="80%" bgcolor="#FFFFFF">&nbsp;
          <input name="djs" type="text" id="djs" value="<% =rs("djs") %>" size="40" /></td>
    </tr>
    <tr>
      <td height="28" colspan="2" align="center" bgcolor="#FFFFFF"><input type="submit" name="Submit" value="提交" />
        &nbsp;&nbsp;
        <input type="reset" name="Submit2" value="重置" /></td>
    </tr>
  </table>
</form><!--#include file="boom.asp" -->
</body>
</html>